class Project {
  id: string;
  name: string;
  description: string;
  jsonString: string;

  constructor(name: string, description: string) {
    this.id = 'project_' + Date.now();
    this.name = name;
    this.description = description;
    this.jsonString = '';
  }

  setJsonString(jsonObject: Object) {
    this.jsonString = JSON.stringify(jsonObject);
  }
}

export default Project;
